# 属性选择器
# 写法： value="[属性名='属性值']"
# 语法： 浏览器对象.find_element(by=By.CSS_SELECTOR,value="CSS表达式")
import time

from selenium import webdriver
from time import sleep
driver = webdriver.Chrome()
driver.get("http://121.43.169.97:8848/pageA.html")
# 填写密码[id='passwordA']，要注意单双引号要交替使用
driver.find_element_by_css_selector("[id='passwordA']").send_keys("123456")
# 填写手机号码[name='telA']
driver.find_element_by_css_selector("[name='telA']").send_keys("13012345678")

sleep(3)
driver.quit()
